Smartcat\Includes\Services\App\ContentService A

Total Complexity 59
Dependencies 9
Dependents 3
Total lines 537
Lines of code 368
Logical lines of code 176
Comment lines 33
Methods 27
Properties 8

Methods 27

Method Rating Maintainability Complexity Lines of code
import()
A
45 7 44
parse()
S
57 5 17
importContentV1()
S
45 3 45
extractContentV1()
S
53 4 22
prepareExportedContentV2()
S
54 3 23
prepareExportedContentV3()
S
54 3 23
mapToLocJson()
S
59 3 15
tryFindTranslatedPost()
S
61 3 14
extractContentV3()
S
55 2 19
parseGutenbergContent()
S
58 2 17
duplicateOrOverwritePost()
S
58 2 16
parseMetadata()
S
62 2 12
getExportedDataValue()
S
67 2 7
makeHashByContent()
S
68 2 7
storeGutenbergData()
S
71 2 5
storeCustomFields()
S
71 2 5
storeElementorData()
S
71 2 5
parseElementorData()
S
61 1 13
addItem()
S
62 1 12
extractContentV2()
S
76 1 4
cleanContent()
S
78 1 3
__construct()
S
74 1 5
prepareExportedContentV1()
S
65 1 10
bakeryDecode()
S
71 1 6
mapToTranslatedItems()
S
64 1 10
metaDataJson()
S
71 1 6
isTranslationExists()
S
81 1 3